package com.lemon.smartsafety.result;

import java.io.Serializable;

/**
 * 作者：machenike on 2016/4/8 13:46
 * 邮箱：
 * <p/>
 * 作用:
 */
public class BaseMode implements Serializable {

    //是否成功，默认值false
    boolean isError = false;

    //状态    1000成功  否者失败
    String code = "";

    //返回的MSG
    String msg = "";

    //返回的有用数据
    Object result = null;




    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isError() {
        return isError;
    }

    public void setError(boolean error) {
        isError = error;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}
